[index]

DeleteBackground Message

Syntax

on deleteBackground
end deleteBackground Sent to the deleted background

Description

The deleteBackground message is sent to the background immediately before the background is deleted. Because a background cannot exist without a card, you delete a background by deleting all the cards associated with it.

Notes

The deleteBackground message is purely informational. Intercepting the message with a handler does nothing to prevent the object from being deleted.

Examples

Place the following handler in the script of the current stack and then delete a background. on deleteBackground this background && "fields will be lost"
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.